<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script src="ckeditor/sample-css/sample.js" type="text/javascript"></script>
          <div id="gwcswA" class="gwcswWrap">
            <div class="gwcswNav">
            <div class="gwcswNavWrap"><table width="437"><tbody><tr><td width="320" index="0">
            </td></tr></tbody></table></div></div>
            <div class="gwcswSlots">
              <div index="1" class="gwcswSlot" style="display: block; font-size: 14px;">
                <p>Sửa bài viết thức ăn ngon<p>
              
     <form:form action="/editfood.do" method="post" accept-charset="UTF-8" commandName="food">
           	 <table>
    <tr>
        <td>Tên thức ăn</td>
        <td><form:input path="name" /></td> 
    </tr>
    <tr>
        <td>Mã thức ăn</td>
        <td><form:input path="code" readonly="true"/></td> 
    </tr>
    <tr>Thông tin chi tiết</tr>
     <tr>
    	<textarea class="ckeditor" cols="40" name="detail" rows="10">${food.detail.value}</textarea>
    </tr>
    <tr>
    	<td><input type="submit" value="Submit"></td>
    </tr>
    </table>
        </form:form>

              </div>
         </div>
        </div>
